const path = require("path");

module.exports = {

pages: {
    index: {
      entry: "src/main.js",
      title: "疫情",
    },
  },
  lintOnSave: true,
  configureWebpack: () => {},

  productionSourceMap: false,
  devServer: {
    proxy: {
      "/api": {
        target: "http://localhost:8032",
        ws: false,
        changeOrigin: true,
        //pathRewrite: { "^/api": "" },
      },
    },
  },

  pluginOptions: {},
};
